def num_list(list1):
    num = int(input("输入数字:"))
    if num-1 > len(list1) or num < 1:
        return -1
    else:
        return list1[num-1]
print(num_list([0,1,2,3,4,5,6,7,8,9,10]))

